<div id="main-content">
<form method="get" id="formSearch" name="formSearch">
    <input type="text" id="tbxSearch" name="tbxSearch" size="31"
    maxlength="255" value="search" />
    <input type="submit" id="btnSearch" name="btnSearch" value="" />
</form>
<h2><?php echo $this->title; ?></h2>
<div class="list-wrapper list-wrapper-keywords-main"> 
    <ul>
       <?php foreach ($this->departments as $department ) { ?> 
            <li id=""> 
                <a href ="<?php echo $this->baseUrl(); ?>/keyword/viewshelf/id/<?php echo $department->id ?>" id="<?php echo $department->name?>">
                    <?php echo $department->name?>  
                 </a>
                <svg version="1.1" class="svg-department-color-small" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
                         width="15px" height="15px" viewBox="0 0 15 15" enable-background="new 0 0 15 15" xml:space="preserve">
                <g id="departments-colors">
                    <rect id="" width="15" height="15" fill="<?php echo $department->color ?>"/>
                </g>
                </svg>    
                <?php if ($department->id == $this->id) { ?>                 
                    <ul id="shelflist" class="keyword-shelfs">
                    <?php foreach ($this->shelfs as $shelf ) {   ?>                                                  
                                <li>                                     
                                     <a href ="<?php echo $this->baseUrl(); ?>/keyword/viewkeywords/departmentId/<?php echo $department->id; ?>/shelfId/<?php echo $shelf->id; ?>" id="">
                                        <?php echo $shelf->label?>
                                    </a>
                                </li>                            
                    <?php } ?>
                    </ul>
                <?php } ?>
            </li>                     
        <?php } ?>
    </ul>
</div>
</div>
<div class="list-wrapper list-wrapper-keywords-left">    
    <div class="list">   
        <a class="button" href="<?php echo $this->baseUrl(); ?>/keyword/edit">Voeg een product toe</a></p>
        <h3>Nieuw product</h3>
        <hr />
        <?php echo $this->form; ?>
    </div>
</div>